package com.ysstech.reportworld.mapper;

import com.ysstech.reportworld.entity.DataCustomer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 基础数据对应客户信息 Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2022-12-02
 */
@Component
public interface DataCustomerMapper extends BaseMapper<DataCustomer> {
    /**
     * 查询基础数据对应的客户信息
     *
     * @param dataCustomer
     * @return
     */
    List<DataCustomer> selectPrimaryByDataId(DataCustomer dataCustomer);

    /**
     * 查询客户对应表
     *
     * @param dataCustomer
     * @return
     */
    List<DataCustomer> getTableInfo(DataCustomer dataCustomer);
}
